package com.helloscala.web

case class ReqDocument(
                       val id: String,
                       var author: String,
                       var title: String,
                       var content: String,
                       var description: Option[String],
                       var slug: Option[String],
                       var tags: List[String]) {

  def removeTags(oldTags: List[String]) = oldTags diff tags

  def newTags(oldTags: List[String]) = tags diff oldTags

}
